package com.qf.lanzhou.shop.pojo.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

/**
 * @author Yeach-chen
 * @ClassName Serial
 */
@Data
public class Serial {
    private Long id;
    private Long userId;
    private String serialOrderNno;
    private BigDecimal amount;
    private Timestamp timestamp;
    private Long serialNum;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date creatTime;
}
